<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>ROSS: core/ross-inline.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <a href="https://github.com/ROSS-org/ROSS">
   <div id="projectname">ROSS
   </div>
   </a>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_af18cf245e3394ab3b436135935cfd6e.html">core</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">ross-inline.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="ross-inline_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef INC_ross_inline_h</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define INC_ross_inline_h</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="structtw__event.html">tw_event</a> *</div>
<div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="ross-inline_8h.html#a91ee3bf5565bdad184cf16590b6b3198">    5</a></span>&#160;<a class="code" href="ross-inline_8h.html#a91ee3bf5565bdad184cf16590b6b3198">tw_event_grab</a>(<a class="code" href="structtw__pe.html">tw_pe</a> *<a class="code" href="avl__tree_8c.html#ac4c639748d4d5a271d6c54a18f614605">pe</a>)</div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;{</div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;  <a class="code" href="structtw__event.html">tw_event</a> *e = <a class="code" href="tw-eventq_8h.html#aa40bc1edebb9f58d87092388cf8dc0df">tw_eventq_pop</a>(&amp;pe-&gt;<a class="code" href="structtw__pe.html#a0c3cba781d3d3836d9ebdd93d5be8be5">free_q</a>);</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;  <span class="keywordflow">if</span> (e)</div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;    {</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;      e-&gt;<a class="code" href="structtw__event.html#aa85d9f587fd15552d51d08c7b2b392ac">cancel_next</a> = NULL;</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;      e-&gt;<a class="code" href="structtw__event.html#a79a3d7a01afbd191b3e134cd3980fc15">caused_by_me</a> = NULL;</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;      e-&gt;<a class="code" href="structtw__event.html#aac80968705fca84ecb01e83ea46419f3">cause_next</a> = NULL;</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;      e-&gt;<a class="code" href="structtw__event.html#adf9d923fa55a01e84d43ce33d1345764">prev</a> = e-&gt;<a class="code" href="structtw__event.html#a4e59fdcbe04117541f00ec8711d3b750">next</a> = NULL;</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;      memset(&amp;e-&gt;<a class="code" href="structtw__event.html#aaccf9aa1154e261f109c6add9abb487b">state</a>, 0, <span class="keyword">sizeof</span>(e-&gt;<a class="code" href="structtw__event.html#aaccf9aa1154e261f109c6add9abb487b">state</a>));</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;      memset(&amp;e-&gt;<a class="code" href="structtw__event.html#ae5758679ad5688685478da7f4256725d">event_id</a>, 0, <span class="keyword">sizeof</span>(e-&gt;<a class="code" href="structtw__event.html#ae5758679ad5688685478da7f4256725d">event_id</a>));</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;    }</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;  <span class="keywordflow">return</span> e;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;}</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="ross-inline_8h.html#a3490c6c78a69f802cbb1ec82c2f13f9e">   23</a></span>&#160;<a class="code" href="ross-inline_8h.html#a3490c6c78a69f802cbb1ec82c2f13f9e">tw_free_output_messages</a>(<a class="code" href="structtw__event.html">tw_event</a> *e, <span class="keywordtype">int</span> print_message)</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;{</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    <span class="keywordflow">while</span> (e-&gt;<a class="code" href="structtw__event.html#a88a806c3cd8223c58419d2c817e9b36e">out_msgs</a>) {</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;        <a class="code" href="structtw__out.html">tw_out</a> *temp = e-&gt;<a class="code" href="structtw__event.html#a88a806c3cd8223c58419d2c817e9b36e">out_msgs</a>;</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;        <span class="keywordflow">if</span> (print_message)</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;            printf(<span class="stringliteral">&quot;%s&quot;</span>, temp-&gt;<a class="code" href="structtw__out.html#aa608ecbec4bc2602508cc4f5b03af24c">message</a>);</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;        e-&gt;<a class="code" href="structtw__event.html#a88a806c3cd8223c58419d2c817e9b36e">out_msgs</a> = temp-&gt;<a class="code" href="structtw__out.html#a55d6ba460ff133b84332cef4be9fac08">next</a>;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;        <span class="comment">// Put it back</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;        <a class="code" href="ross-extern_8h.html#ad0bb29129002788f450029e65c38e9e0">tw_kp_put_back_output_buffer</a>(temp);</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    }</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;}</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment"> * @bug There&#39;s a bug in this function.  We put dest_gid, which is</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment"> * a 64-bit value, into dest_lp which may be a 32-bit pointer.</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="structtw__event.html">tw_event</a> *</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="ross-inline_8h.html#a6e55304c545600c2bb996fa70dd43f05">   40</a></span>&#160;<a class="code" href="ross-inline_8h.html#a6e55304c545600c2bb996fa70dd43f05">tw_event_new</a>(<a class="code" href="ross_8h.html#a911515dff2fb79886a16ed44df5f9d20">tw_lpid</a> dest_gid, <a class="code" href="ross_8h.html#a80b370bc538e17441aef6afaff852678">tw_stime</a> offset_ts, <a class="code" href="structtw__lp.html">tw_lp</a> * sender)</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;{</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;  <a class="code" href="structtw__pe.html">tw_pe</a> *send_pe;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;  <a class="code" href="structtw__event.html">tw_event</a> *e;</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;  <a class="code" href="ross_8h.html#a80b370bc538e17441aef6afaff852678">tw_stime</a> recv_ts;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;  <span class="keywordflow">if</span> (<a class="code" href="ross_8h.html#a096f73feb08316896d644277b486c9ea">TW_STIME_DBL</a>(offset_ts) &lt; 0.0) {</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <a class="code" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa">tw_error</a>(<a class="code" href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a>, <span class="stringliteral">&quot;Cannot send events into the past! Sending LP: %lu\n&quot;</span>, sender-&gt;<a class="code" href="structtw__lp.html#a3e75d9bf7796c16870ad686564ee4c20">gid</a>);</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;  }</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;  send_pe = sender-&gt;<a class="code" href="structtw__lp.html#a9fd32632e5c45a00faf16a6fd0814640">pe</a>;</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;  recv_ts = <a class="code" href="ross_8h.html#a7d8d627b536187257705c435c79a5240">TW_STIME_ADD</a>(<a class="code" href="ross-kernel-inline_8h.html#a543cb527662432d81f65c327e5e5f1b0">tw_now</a>(sender), offset_ts);</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;  <span class="keywordflow">if</span>(<a class="code" href="ross-extern_8h.html#ae22db4d4e754eff64535402f5fa60a5f">g_tw_synchronization_protocol</a> == <a class="code" href="ross-types_8h.html#abea764c61c75c56008ccf665a71246fda70cd78c3dbc0801ed52437fa82a6e8ef">CONSERVATIVE</a>)</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;  {</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <span class="comment">/* keep track of the smallest timestamp offset we have seen */</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;  <span class="keywordflow">if</span>(<a class="code" href="ross_8h.html#a096f73feb08316896d644277b486c9ea">TW_STIME_DBL</a>(offset_ts) &lt; <a class="code" href="ross-extern_8h.html#a04a75081997dd5339573e321e5355ccf">g_tw_min_detected_offset</a>)</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <a class="code" href="ross-extern_8h.html#a04a75081997dd5339573e321e5355ccf">g_tw_min_detected_offset</a> = <a class="code" href="ross_8h.html#a096f73feb08316896d644277b486c9ea">TW_STIME_DBL</a>(offset_ts);</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;  }</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;  <span class="comment">/* If this event will be past the end time, or there</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="comment">   * are no more free events available, use abort event.</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="comment">   */</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;  <span class="keywordflow">if</span> (<a class="code" href="ross_8h.html#a096f73feb08316896d644277b486c9ea">TW_STIME_DBL</a>(recv_ts) &gt;= <a class="code" href="ross-extern_8h.html#aedd6d883bb5b01f0d5c1121f48b0477e">g_tw_ts_end</a>) {</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="preprocessor">#ifdef USE_RIO</span></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="preprocessor"></span>    e = <a class="code" href="io-mpi_8c.html#aab99abf1ad93e1d23dd803c207e104d9">io_event_grab</a>(send_pe);</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="preprocessor"></span>    e = send_pe-&gt;<a class="code" href="structtw__pe.html#a76e88f72d90635b512db0ba17d570e2f">abort_event</a>;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="preprocessor"></span>    send_pe-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#abd593404137ee16d70a5c87547ad52d8">s_events_past_end</a>++;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;  } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    e = <a class="code" href="ross-inline_8h.html#a91ee3bf5565bdad184cf16590b6b3198">tw_event_grab</a>(send_pe);</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="keywordflow">if</span> (!e) {</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="ross-extern_8h.html#ae22db4d4e754eff64535402f5fa60a5f">g_tw_synchronization_protocol</a> == <a class="code" href="ross-types_8h.html#abea764c61c75c56008ccf665a71246fda70cd78c3dbc0801ed52437fa82a6e8ef">CONSERVATIVE</a></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;                || <a class="code" href="ross-extern_8h.html#ae22db4d4e754eff64535402f5fa60a5f">g_tw_synchronization_protocol</a> == <a class="code" href="ross-types_8h.html#abea764c61c75c56008ccf665a71246fda6b834d43476553e583e0fde6578c82f0">SEQUENTIAL</a>) {</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;        <a class="code" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa">tw_error</a>(<a class="code" href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a>,</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;                <span class="stringliteral">&quot;No free event buffers. Try increasing via g_tw_events_per_pe&quot;</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;                <span class="stringliteral">&quot; or --extramem&quot;</span>);</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;        }</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;            e = send_pe-&gt;<a class="code" href="structtw__pe.html#a76e88f72d90635b512db0ba17d570e2f">abort_event</a>;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    }</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;  }</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;  e-&gt;<a class="code" href="structtw__event.html#afbd71fb6565dd9a4de0ad8e77e748c8a">dest_lp</a> = (<a class="code" href="structtw__lp.html">tw_lp</a> *) dest_gid;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;  e-&gt;<a class="code" href="structtw__event.html#a5cd6fd55a542c4149205cafbc13fcdcd">dest_lpid</a> = dest_gid;</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;  e-&gt;<a class="code" href="structtw__event.html#ad82747d6237b1b03ef68c923bef423a0">src_lp</a> = sender;</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;  e-&gt;<a class="code" href="structtw__event.html#a4e32bfdbde0d1cae06b5b3fb90adbffa">recv_ts</a> = recv_ts;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;  e-&gt;<a class="code" href="structtw__event.html#a7e808efbd0adcea588815dad3782d095">send_ts</a> = <a class="code" href="ross-kernel-inline_8h.html#a543cb527662432d81f65c327e5e5f1b0">tw_now</a>(sender);</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;  e-&gt;<a class="code" href="structtw__event.html#a5b1396b64aa4caf29bdc26f0930a250b">critical_path</a> = sender-&gt;<a class="code" href="structtw__lp.html#ab625bb15608759dde614a877a992672b">critical_path</a> + 1;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;  <a class="code" href="ross-inline_8h.html#a3490c6c78a69f802cbb1ec82c2f13f9e">tw_free_output_messages</a>(e, 0);</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;  <span class="keywordflow">return</span> e;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;}</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="ross-inline_8h.html#ad46705159e8a344f46b9e2943774cf85">   97</a></span>&#160;<a class="code" href="ross-inline_8h.html#ad46705159e8a344f46b9e2943774cf85">tw_event_free</a>(<a class="code" href="structtw__pe.html">tw_pe</a> *<a class="code" href="avl__tree_8c.html#ac4c639748d4d5a271d6c54a18f614605">pe</a>, <a class="code" href="structtw__event.html">tw_event</a> *e)</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;{</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;  <span class="comment">/*</span></div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="comment">   * During the course of a rollback, events are supposed to put</span></div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="comment">   * the membufs back on the event.  The event is then cancelled</span></div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="comment">   * and freed -- which is how a membuf could end up on a freed</span></div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="comment">   * event.</span></div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="comment">   */</span></div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;  <a class="code" href="ross-inline_8h.html#a3490c6c78a69f802cbb1ec82c2f13f9e">tw_free_output_messages</a>(e, 0);</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;  <span class="keywordflow">if</span> (e-&gt;<a class="code" href="structtw__event.html#accbcced0daa7dca4b2bfec444fa6d975">delta_buddy</a>) {</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <a class="code" href="aarch64_8h.html#abcd6b97b84bebf1f961f85cd24b56c60">tw_clock</a> start = <a class="code" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757">tw_clock_read</a>();</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    <a class="code" href="buddy_8c.html#a2d38d5280dce5d4f0b85410e00c293a6">buddy_free</a>(e-&gt;<a class="code" href="structtw__event.html#accbcced0daa7dca4b2bfec444fa6d975">delta_buddy</a>);</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <a class="code" href="ross-extern_8h.html#a2f67789cc425e7d839fa4b983f5b8505">g_tw_pe</a>-&gt;<a class="code" href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">stats</a>.<a class="code" href="structtw__statistics.html#a11793b1e0f358ce83e0f0e7d858f14c5">s_buddy</a> += (<a class="code" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757">tw_clock_read</a>() - start);</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    e-&gt;<a class="code" href="structtw__event.html#accbcced0daa7dca4b2bfec444fa6d975">delta_buddy</a> = 0;</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;  }</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;  e-&gt;<a class="code" href="structtw__event.html#aaccf9aa1154e261f109c6add9abb487b">state</a>.<a class="code" href="structtw__event.html#a6164e23fd9a6397de27abc5852f4b6c3">owner</a> = <a class="code" href="ross-types_8h.html#adaaa11b02ebf87f0efe8abcee612b021a05a11a4e0b1503e282231d0ecf9c266d">TW_pe_free_q</a>;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;  <a class="code" href="tw-eventq_8h.html#a6be6332230ef4fb5c8a3f4a0412493a8">tw_eventq_unshift</a>(&amp;pe-&gt;<a class="code" href="structtw__pe.html#a0c3cba781d3d3836d9ebdd93d5be8be5">free_q</a>, e);</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;}</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> *</div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="ross-inline_8h.html#a3def69f148eaba619b26c898c90687b8">  120</a></span>&#160;<a class="code" href="ross-inline_8h.html#a3def69f148eaba619b26c898c90687b8">tw_event_data</a>(<a class="code" href="structtw__event.html">tw_event</a> * event)</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;{</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;  <span class="keywordflow">return</span> <span class="keyword">event</span> + 1;</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;}</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="ross-extern_8h_html_ae22db4d4e754eff64535402f5fa60a5f"><div class="ttname"><a href="ross-extern_8h.html#ae22db4d4e754eff64535402f5fa60a5f">g_tw_synchronization_protocol</a></div><div class="ttdeci">tw_synch g_tw_synchronization_protocol</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00018">ross-global.c:18</a></div></div>
<div class="ttc" id="ross-inline_8h_html_a3def69f148eaba619b26c898c90687b8"><div class="ttname"><a href="ross-inline_8h.html#a3def69f148eaba619b26c898c90687b8">tw_event_data</a></div><div class="ttdeci">static void * tw_event_data(tw_event *event)</div><div class="ttdef"><b>Definition:</b> <a href="ross-inline_8h_source.html#l00120">ross-inline.h:120</a></div></div>
<div class="ttc" id="ross-extern_8h_html_afffdf140f2c492f61546ad783833f127"><div class="ttname"><a href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a></div><div class="ttdeci">#define TW_LOC</div><div class="ttdef"><b>Definition:</b> <a href="ross-extern_8h_source.html#l00164">ross-extern.h:164</a></div></div>
<div class="ttc" id="structtw__event_html_accbcced0daa7dca4b2bfec444fa6d975"><div class="ttname"><a href="structtw__event.html#accbcced0daa7dca4b2bfec444fa6d975">tw_event::delta_buddy</a></div><div class="ttdeci">void * delta_buddy</div><div class="ttdoc">Delta memory from buddy allocator. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00275">ross-types.h:275</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a04a75081997dd5339573e321e5355ccf"><div class="ttname"><a href="ross-extern_8h.html#a04a75081997dd5339573e321e5355ccf">g_tw_min_detected_offset</a></div><div class="ttdeci">double g_tw_min_detected_offset</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00055">ross-global.c:55</a></div></div>
<div class="ttc" id="structtw__event_html_afbd71fb6565dd9a4de0ad8e77e748c8a"><div class="ttname"><a href="structtw__event.html#afbd71fb6565dd9a4de0ad8e77e748c8a">tw_event::dest_lp</a></div><div class="ttdeci">tw_lp * dest_lp</div><div class="ttdoc">Destination LP ID. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00280">ross-types.h:280</a></div></div>
<div class="ttc" id="ross_8h_html_a80b370bc538e17441aef6afaff852678"><div class="ttname"><a href="ross_8h.html#a80b370bc538e17441aef6afaff852678">tw_stime</a></div><div class="ttdeci">double tw_stime</div><div class="ttdef"><b>Definition:</b> <a href="ross_8h_source.html#l00150">ross.h:150</a></div></div>
<div class="ttc" id="ross-inline_8h_html_a91ee3bf5565bdad184cf16590b6b3198"><div class="ttname"><a href="ross-inline_8h.html#a91ee3bf5565bdad184cf16590b6b3198">tw_event_grab</a></div><div class="ttdeci">static tw_event * tw_event_grab(tw_pe *pe)</div><div class="ttdef"><b>Definition:</b> <a href="ross-inline_8h_source.html#l00005">ross-inline.h:5</a></div></div>
<div class="ttc" id="structtw__out_html_aa608ecbec4bc2602508cc4f5b03af24c"><div class="ttname"><a href="structtw__out.html#aa608ecbec4bc2602508cc4f5b03af24c">tw_out::message</a></div><div class="ttdeci">char message[256-2 *sizeof(void *)]</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00240">ross-types.h:240</a></div></div>
<div class="ttc" id="structtw__event_html_ae5758679ad5688685478da7f4256725d"><div class="ttname"><a href="structtw__event.html#ae5758679ad5688685478da7f4256725d">tw_event::event_id</a></div><div class="ttdeci">tw_eventid event_id</div><div class="ttdoc">Unique id assigned by src_lp-&gt;pe if remote. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00264">ross-types.h:264</a></div></div>
<div class="ttc" id="ross-extern_8h_html_aedd6d883bb5b01f0d5c1121f48b0477e"><div class="ttname"><a href="ross-extern_8h.html#aedd6d883bb5b01f0d5c1121f48b0477e">g_tw_ts_end</a></div><div class="ttdeci">double g_tw_ts_end</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00068">ross-global.c:68</a></div></div>
<div class="ttc" id="structtw__lp_html_ab625bb15608759dde614a877a992672b"><div class="ttname"><a href="structtw__lp.html#ab625bb15608759dde614a877a992672b">tw_lp::critical_path</a></div><div class="ttdeci">unsigned int critical_path</div><div class="ttdoc">Critical path value for this LP. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00319">ross-types.h:319</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a49ed2388aaae26e43280b7909c834aaa"><div class="ttname"><a href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa">tw_error</a></div><div class="ttdeci">void tw_error(const char *file, int line, const char *fmt,...) NORETURN</div><div class="ttdef"><b>Definition:</b> <a href="tw-util_8c_source.html#l00074">tw-util.c:74</a></div></div>
<div class="ttc" id="structtw__pe_html_ac1d26b7bfd058cc55cbf5ee201edb83c"><div class="ttname"><a href="structtw__pe.html#ac1d26b7bfd058cc55cbf5ee201edb83c">tw_pe::stats</a></div><div class="ttdeci">tw_statistics stats</div><div class="ttdoc">per PE counters </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00415">ross-types.h:415</a></div></div>
<div class="ttc" id="structtw__event_html_a4e32bfdbde0d1cae06b5b3fb90adbffa"><div class="ttname"><a href="structtw__event.html#a4e32bfdbde0d1cae06b5b3fb90adbffa">tw_event::recv_ts</a></div><div class="ttdeci">tw_stime recv_ts</div><div class="ttdoc">Actual time to be received. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00282">ross-types.h:282</a></div></div>
<div class="ttc" id="structtw__event_html_aa85d9f587fd15552d51d08c7b2b392ac"><div class="ttname"><a href="structtw__event.html#aa85d9f587fd15552d51d08c7b2b392ac">tw_event::cancel_next</a></div><div class="ttdeci">tw_event * cancel_next</div><div class="ttdoc">Next event in the cancel queue for the dest_pe. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00260">ross-types.h:260</a></div></div>
<div class="ttc" id="aarch64_8h_html_a450cf25fa5291629087ca4198de55757"><div class="ttname"><a href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757">tw_clock_read</a></div><div class="ttdeci">static tw_clock tw_clock_read(void)</div><div class="ttdef"><b>Definition:</b> <a href="aarch64_8h_source.html#l00006">aarch64.h:6</a></div></div>
<div class="ttc" id="structtw__pe_html"><div class="ttname"><a href="structtw__pe.html">tw_pe</a></div><div class="ttdoc">Holds the entire PE state. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00375">ross-types.h:375</a></div></div>
<div class="ttc" id="structtw__event_html_a88a806c3cd8223c58419d2c817e9b36e"><div class="ttname"><a href="structtw__event.html#a88a806c3cd8223c58419d2c817e9b36e">tw_event::out_msgs</a></div><div class="ttdeci">tw_out * out_msgs</div><div class="ttdoc">Output messages. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00289">ross-types.h:289</a></div></div>
<div class="ttc" id="structtw__event_html_adf9d923fa55a01e84d43ce33d1345764"><div class="ttname"><a href="structtw__event.html#adf9d923fa55a01e84d43ce33d1345764">tw_event::prev</a></div><div class="ttdeci">tw_event * prev</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00252">ross-types.h:252</a></div></div>
<div class="ttc" id="structtw__pe_html_a0c3cba781d3d3836d9ebdd93d5be8be5"><div class="ttname"><a href="structtw__pe.html#a0c3cba781d3d3836d9ebdd93d5be8be5">tw_pe::free_q</a></div><div class="ttdeci">tw_eventq free_q</div><div class="ttdoc">Linked list of free tw_events. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00383">ross-types.h:383</a></div></div>
<div class="ttc" id="ross_8h_html_a911515dff2fb79886a16ed44df5f9d20"><div class="ttname"><a href="ross_8h.html#a911515dff2fb79886a16ed44df5f9d20">tw_lpid</a></div><div class="ttdeci">uint64_t tw_lpid</div><div class="ttdef"><b>Definition:</b> <a href="ross_8h_source.html#l00160">ross.h:160</a></div></div>
<div class="ttc" id="structtw__event_html"><div class="ttname"><a href="structtw__event.html">tw_event</a></div><div class="ttdoc">Event Stucture. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00250">ross-types.h:250</a></div></div>
<div class="ttc" id="structtw__lp_html_a3e75d9bf7796c16870ad686564ee4c20"><div class="ttname"><a href="structtw__lp.html#a3e75d9bf7796c16870ad686564ee4c20">tw_lp::gid</a></div><div class="ttdeci">tw_lpid gid</div><div class="ttdoc">global LP id </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00306">ross-types.h:306</a></div></div>
<div class="ttc" id="structtw__pe_html_a76e88f72d90635b512db0ba17d570e2f"><div class="ttname"><a href="structtw__pe.html#a76e88f72d90635b512db0ba17d570e2f">tw_pe::abort_event</a></div><div class="ttdeci">tw_event * abort_event</div><div class="ttdoc">Placeholder event for when free_q is empty. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00384">ross-types.h:384</a></div></div>
<div class="ttc" id="structtw__statistics_html_a11793b1e0f358ce83e0f0e7d858f14c5"><div class="ttname"><a href="structtw__statistics.html#a11793b1e0f358ce83e0f0e7d858f14c5">tw_statistics::s_buddy</a></div><div class="ttdeci">tw_clock s_buddy</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00149">ross-types.h:149</a></div></div>
<div class="ttc" id="structtw__event_html_a5b1396b64aa4caf29bdc26f0930a250b"><div class="ttname"><a href="structtw__event.html#a5b1396b64aa4caf29bdc26f0930a250b">tw_event::critical_path</a></div><div class="ttdeci">unsigned int critical_path</div><div class="ttdoc">Critical path of this event. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00278">ross-types.h:278</a></div></div>
<div class="ttc" id="ross-kernel-inline_8h_html_a543cb527662432d81f65c327e5e5f1b0"><div class="ttname"><a href="ross-kernel-inline_8h.html#a543cb527662432d81f65c327e5e5f1b0">tw_now</a></div><div class="ttdeci">static tw_stime tw_now(tw_lp const *lp)</div><div class="ttdef"><b>Definition:</b> <a href="ross-kernel-inline_8h_source.html#l00080">ross-kernel-inline.h:80</a></div></div>
<div class="ttc" id="structtw__event_html_a4e59fdcbe04117541f00ec8711d3b750"><div class="ttname"><a href="structtw__event.html#a4e59fdcbe04117541f00ec8711d3b750">tw_event::next</a></div><div class="ttdeci">tw_event * next</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00251">ross-types.h:251</a></div></div>
<div class="ttc" id="structtw__out_html_a55d6ba460ff133b84332cef4be9fac08"><div class="ttname"><a href="structtw__out.html#a55d6ba460ff133b84332cef4be9fac08">tw_out::next</a></div><div class="ttdeci">struct tw_out * next</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00237">ross-types.h:237</a></div></div>
<div class="ttc" id="structtw__event_html_aac80968705fca84ecb01e83ea46419f3"><div class="ttname"><a href="structtw__event.html#aac80968705fca84ecb01e83ea46419f3">tw_event::cause_next</a></div><div class="ttdeci">tw_event * cause_next</div><div class="ttdoc">Next in parent&#39;s caused_by_me chain. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00262">ross-types.h:262</a></div></div>
<div class="ttc" id="ross-inline_8h_html_a3490c6c78a69f802cbb1ec82c2f13f9e"><div class="ttname"><a href="ross-inline_8h.html#a3490c6c78a69f802cbb1ec82c2f13f9e">tw_free_output_messages</a></div><div class="ttdeci">static void tw_free_output_messages(tw_event *e, int print_message)</div><div class="ttdef"><b>Definition:</b> <a href="ross-inline_8h_source.html#l00023">ross-inline.h:23</a></div></div>
<div class="ttc" id="structtw__event_html_a79a3d7a01afbd191b3e134cd3980fc15"><div class="ttname"><a href="structtw__event.html#a79a3d7a01afbd191b3e134cd3980fc15">tw_event::caused_by_me</a></div><div class="ttdeci">tw_event * caused_by_me</div><div class="ttdoc">Start of event list caused by this event. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00261">ross-types.h:261</a></div></div>
<div class="ttc" id="structtw__event_html_a5cd6fd55a542c4149205cafbc13fcdcd"><div class="ttname"><a href="structtw__event.html#a5cd6fd55a542c4149205cafbc13fcdcd">tw_event::dest_lpid</a></div><div class="ttdeci">tw_lpid dest_lpid</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00286">ross-types.h:286</a></div></div>
<div class="ttc" id="ross-types_8h_html_adaaa11b02ebf87f0efe8abcee612b021a05a11a4e0b1503e282231d0ecf9c266d"><div class="ttname"><a href="ross-types_8h.html#adaaa11b02ebf87f0efe8abcee612b021a05a11a4e0b1503e282231d0ecf9c266d">TW_pe_free_q</a></div><div class="ttdoc">In tw_pe.free_q. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00222">ross-types.h:222</a></div></div>
<div class="ttc" id="ross-inline_8h_html_ad46705159e8a344f46b9e2943774cf85"><div class="ttname"><a href="ross-inline_8h.html#ad46705159e8a344f46b9e2943774cf85">tw_event_free</a></div><div class="ttdeci">static void tw_event_free(tw_pe *pe, tw_event *e)</div><div class="ttdef"><b>Definition:</b> <a href="ross-inline_8h_source.html#l00097">ross-inline.h:97</a></div></div>
<div class="ttc" id="ross-types_8h_html_abea764c61c75c56008ccf665a71246fda70cd78c3dbc0801ed52437fa82a6e8ef"><div class="ttname"><a href="ross-types_8h.html#abea764c61c75c56008ccf665a71246fda70cd78c3dbc0801ed52437fa82a6e8ef">CONSERVATIVE</a></div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00029">ross-types.h:29</a></div></div>
<div class="ttc" id="tw-eventq_8h_html_aa40bc1edebb9f58d87092388cf8dc0df"><div class="ttname"><a href="tw-eventq_8h.html#aa40bc1edebb9f58d87092388cf8dc0df">tw_eventq_pop</a></div><div class="ttdeci">static tw_event * tw_eventq_pop(tw_eventq *q)</div><div class="ttdef"><b>Definition:</b> <a href="tw-eventq_8h_source.html#l00289">tw-eventq.h:289</a></div></div>
<div class="ttc" id="buddy_8c_html_a2d38d5280dce5d4f0b85410e00c293a6"><div class="ttname"><a href="buddy_8c.html#a2d38d5280dce5d4f0b85410e00c293a6">buddy_free</a></div><div class="ttdeci">void buddy_free(void *ptr)</div><div class="ttdef"><b>Definition:</b> <a href="buddy_8c_source.html#l00137">buddy.c:137</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a2f67789cc425e7d839fa4b983f5b8505"><div class="ttname"><a href="ross-extern_8h.html#a2f67789cc425e7d839fa4b983f5b8505">g_tw_pe</a></div><div class="ttdeci">tw_pe * g_tw_pe</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00075">ross-global.c:75</a></div></div>
<div class="ttc" id="structtw__event_html_a7e808efbd0adcea588815dad3782d095"><div class="ttname"><a href="structtw__event.html#a7e808efbd0adcea588815dad3782d095">tw_event::send_ts</a></div><div class="ttdeci">tw_stime send_ts</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00287">ross-types.h:287</a></div></div>
<div class="ttc" id="structtw__event_html_aaccf9aa1154e261f109c6add9abb487b"><div class="ttname"><a href="structtw__event.html#aaccf9aa1154e261f109c6add9abb487b">tw_event::state</a></div><div class="ttdeci">struct tw_event::@0 state</div></div>
<div class="ttc" id="tw-eventq_8h_html_a6be6332230ef4fb5c8a3f4a0412493a8"><div class="ttname"><a href="tw-eventq_8h.html#a6be6332230ef4fb5c8a3f4a0412493a8">tw_eventq_unshift</a></div><div class="ttdeci">static void tw_eventq_unshift(tw_eventq *q, tw_event *e)</div><div class="ttdef"><b>Definition:</b> <a href="tw-eventq_8h_source.html#l00320">tw-eventq.h:320</a></div></div>
<div class="ttc" id="structtw__lp_html_a9fd32632e5c45a00faf16a6fd0814640"><div class="ttname"><a href="structtw__lp.html#a9fd32632e5c45a00faf16a6fd0814640">tw_lp::pe</a></div><div class="ttdeci">tw_pe * pe</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00308">ross-types.h:308</a></div></div>
<div class="ttc" id="ross_8h_html_a7d8d627b536187257705c435c79a5240"><div class="ttname"><a href="ross_8h.html#a7d8d627b536187257705c435c79a5240">TW_STIME_ADD</a></div><div class="ttdeci">#define TW_STIME_ADD(x, y)</div><div class="ttdef"><b>Definition:</b> <a href="ross_8h_source.html#l00155">ross.h:155</a></div></div>
<div class="ttc" id="avl__tree_8c_html_ac4c639748d4d5a271d6c54a18f614605"><div class="ttname"><a href="avl__tree_8c.html#ac4c639748d4d5a271d6c54a18f614605">pe</a></div><div class="ttdeci">tw_pe * pe</div><div class="ttdef"><b>Definition:</b> <a href="avl__tree_8c_source.html#l00011">avl_tree.c:11</a></div></div>
<div class="ttc" id="aarch64_8h_html_abcd6b97b84bebf1f961f85cd24b56c60"><div class="ttname"><a href="aarch64_8h.html#abcd6b97b84bebf1f961f85cd24b56c60">tw_clock</a></div><div class="ttdeci">uint64_t tw_clock</div><div class="ttdef"><b>Definition:</b> <a href="aarch64_8h_source.html#l00004">aarch64.h:4</a></div></div>
<div class="ttc" id="structtw__event_html_ad82747d6237b1b03ef68c923bef423a0"><div class="ttname"><a href="structtw__event.html#ad82747d6237b1b03ef68c923bef423a0">tw_event::src_lp</a></div><div class="ttdeci">tw_lp * src_lp</div><div class="ttdoc">Sending LP ID. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00281">ross-types.h:281</a></div></div>
<div class="ttc" id="structtw__out_html"><div class="ttname"><a href="structtw__out.html">tw_out</a></div><div class="ttdoc">Rollback-aware output mechanism. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00236">ross-types.h:236</a></div></div>
<div class="ttc" id="structtw__statistics_html_abd593404137ee16d70a5c87547ad52d8"><div class="ttname"><a href="structtw__statistics.html#abd593404137ee16d70a5c87547ad52d8">tw_statistics::s_events_past_end</a></div><div class="ttdeci">tw_stat s_events_past_end</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00154">ross-types.h:154</a></div></div>
<div class="ttc" id="ross-extern_8h_html_ad0bb29129002788f450029e65c38e9e0"><div class="ttname"><a href="ross-extern_8h.html#ad0bb29129002788f450029e65c38e9e0">tw_kp_put_back_output_buffer</a></div><div class="ttdeci">void tw_kp_put_back_output_buffer(tw_out *out)</div><div class="ttdef"><b>Definition:</b> <a href="tw-kp_8c_source.html#l00175">tw-kp.c:175</a></div></div>
<div class="ttc" id="io-mpi_8c_html_aab99abf1ad93e1d23dd803c207e104d9"><div class="ttname"><a href="io-mpi_8c.html#aab99abf1ad93e1d23dd803c207e104d9">io_event_grab</a></div><div class="ttdeci">tw_event * io_event_grab(tw_pe *pe)</div><div class="ttdef"><b>Definition:</b> <a href="io-mpi_8c_source.html#l00042">io-mpi.c:42</a></div></div>
<div class="ttc" id="ross_8h_html_a096f73feb08316896d644277b486c9ea"><div class="ttname"><a href="ross_8h.html#a096f73feb08316896d644277b486c9ea">TW_STIME_DBL</a></div><div class="ttdeci">#define TW_STIME_DBL(x)</div><div class="ttdef"><b>Definition:</b> <a href="ross_8h_source.html#l00153">ross.h:153</a></div></div>
<div class="ttc" id="ross-inline_8h_html_a6e55304c545600c2bb996fa70dd43f05"><div class="ttname"><a href="ross-inline_8h.html#a6e55304c545600c2bb996fa70dd43f05">tw_event_new</a></div><div class="ttdeci">static tw_event * tw_event_new(tw_lpid dest_gid, tw_stime offset_ts, tw_lp *sender)</div><div class="ttdef"><b>Definition:</b> <a href="ross-inline_8h_source.html#l00040">ross-inline.h:40</a></div></div>
<div class="ttc" id="structtw__lp_html"><div class="ttname"><a href="structtw__lp.html">tw_lp</a></div><div class="ttdoc">LP State Structure. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00304">ross-types.h:304</a></div></div>
<div class="ttc" id="ross-types_8h_html_abea764c61c75c56008ccf665a71246fda6b834d43476553e583e0fde6578c82f0"><div class="ttname"><a href="ross-types_8h.html#abea764c61c75c56008ccf665a71246fda6b834d43476553e583e0fde6578c82f0">SEQUENTIAL</a></div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00028">ross-types.h:28</a></div></div>
<div class="ttc" id="structtw__event_html_a6164e23fd9a6397de27abc5852f4b6c3"><div class="ttname"><a href="structtw__event.html#a6164e23fd9a6397de27abc5852f4b6c3">tw_event::owner</a></div><div class="ttdeci">unsigned char owner</div><div class="ttdoc">Owner of the next/prev pointers; see tw_event_owner. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00268">ross-types.h:268</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
